package com.googlecode.dgwt.client;

/**
 * DGWT runtime configuration.
 * 
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public final class DGWT {

    private static boolean optimizeCollections = false;
    
    private static boolean enableFullWidthHeightForScrollBox = true;

    
    public static boolean isOptimizeCollections() {
        return optimizeCollections;
    }

    public static void setOptimizeCollections(boolean optimizeCollections) {
        DGWT.optimizeCollections = optimizeCollections;
    }

    public static boolean isEnableFullWidthHeightForScrollBox() {
        return enableFullWidthHeightForScrollBox;
    }

    public static void setEnableFullWidthHeightForScrollBox(
            boolean enableFullWidthHeightForScrollBox) {
        DGWT.enableFullWidthHeightForScrollBox = enableFullWidthHeightForScrollBox;
    }

}
